package assig2;
/** A person
 * 
 * @author ciaraldi
 *
 */

public class Person {
	String name;
	long id; 
	
	/**
	 * Default constructor. 
	 */
	Person() {
		// Store default values
		name = ""; // Note: Empty string, not null pointer
		id = 0;
	}
	
	/** Constructor.
	 * @param name Full name of the person
	 * @param id Identification number
	 */
	Person(String name, long id) {
		this.name = name;
		this.id = id;
	}
	
	/**
	 * @return The String version of the object
	 */
	public String toString() {
		return ("Name = " + name + " ID = " + id);		
	}
}
